package com.shop.item.api.service;

import com.shop.common.model.InputBean;
import com.shop.common.model.ServiceBean;
import com.shop.common.model.param.item.ItemBaseInput;
import com.shop.common.model.param.item.ItemDetailsInput;
import com.shop.common.model.param.item.ItemEditHisInput;
import com.shop.common.model.result.item.ItemEditHisOutput;

import java.util.List;

public interface IItemEditService {
    /**
     * @return com.shop.common.model.ResultModel<?>
     * @Author zhoulk
     * @Description //更新商品信息
     * @Date 11:11 2019/1/16
     * @Param [paramModel]
     * @errorCode //TODO
     **/
    ServiceBean<String> updateItemBase(InputBean<ItemBaseInput> inputBean);

    /**
     * @Author zhoulk
     * @Description //更新商品详情
     * @Date 16:08 2019/3/11
     *
     * @Param [paramModel]
     * @return com.shop.common.model.ResultModel<java.lang.String>
     * @errorCode //TODO
     **/
    ServiceBean<String> updateItemDetails(InputBean<ItemDetailsInput> inputBean);

    /**
     * @Author zhoulk
     * @Description //查询商品修改历史列表
     * @Date 16:08 2019/3/11
     *
     * @Param [paramModel]
     * @return com.shop.common.model.ResultModel<java.util.List < com.shop.common.model.result.item.ItemExtOutput>>
     * @errorCode //TODO
     **/
    ServiceBean<List<ItemEditHisOutput>> selectItemEditHisList(InputBean<ItemEditHisInput> inputBean);

    /**
     * @Author zhoulk
     * @Description //查询商品修改历史信息
     * @Date 16:09 2019/3/11
     *
     * @Param [paramModel]
     * @return com.shop.common.model.ResultModel<com.shop.common.model.result.item.ItemEditHisOutput>
     * @errorCode //TODO
     **/
    ServiceBean<ItemEditHisOutput> selectItemEditHis(InputBean<ItemEditHisInput> inputBean);
}
